Python Checker
A maintainable Python code checker for Sublime Text 3
Details
Installs
- Total 85K
- Win 47K
- Mac 16K
- Linux 21K
Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 3 | 4 | 3 | 4 | 4 | 5 | 5 | 4 | 9 | 6 | 10 | 5 | 6 | 3 | 4 | 3 | 0 | 1 | 1 | 3 | 4 | 4 | 4 | 4 | 1 | 3 | 4 | 6 | 4 | 1 | 5 | 0 | 3 | 3 | 0 | 6 | 1 | 3 | 0 | 0 | 5 | 3 | 4 | 6 | 5 |
Mac | 1 | 5 | 2 | 1 | 0 | 2 | 0 | 1 | 2 | 4 | 2 | 1 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 3 | 2 | 0 | 2 | 0 | 1 | 1 | 1 | 1 | 1 | 3 | 1 |
Linux | 1 | 4 | 1 | 1 | 2 | 1 | 1 | 2 | 2 | 0 | 3 | 0 | 0 | 2 | 2 | 3 | 2 | 3 | 0 | 2 | 2 | 2 | 2 | 1 | 1 | 0 | 1 | 3 | 1 | 2 | 1 | 0 | 1 | 0 | 1 | 1 | 2 | 1 | 2 | 2 | 1 | 1 | 0 | 1 | 2 | 1 |
Readme
- Source
- raw.githubusercontent.com
Python Checker
A maintainable Python code checker for Sublime Text 3
Once the plugin is installed, it will highlight common problems in your Python code.
Internally it relies on the wonderful pyflakes
and pep8
packages.
Installation
Use Package Control.
Python version
By default Python Checker will use the version of Python that came with Sublime Text 3. This currently means Python 3 and can result in problems like undefined name 'unicode'
being reported. If you want to use a different version, set the python_interpreter_path
option in your project settings:
# <project name>.sublime-project
{
"settings": {
"python_interpreter_path": "/usr/bin/python"
}
}
This is compatible with other plugins including SublimeJEDI.
PEP8 checks
Use the standard pep8
configuration files to control the behaviour including skipping some checks. An example project configration might look like this:
# setup.cfg or tox.ini
[pep8]
ignore = E501,W191
max-line-length = 120